package com.hotel.pojo;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @author shkstart
 * @create 2021-06-22 11:07
 */
@Data
@Component
public class Role {
    private Integer id;

    private String name;

    private String remark;//角色备注

    public Role() {
    }

    public Role(Integer id, String name, String remark) {
        this.id = id;
        this.name = name;
        this.remark = remark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
